import { BaseScene } from "../Core/Base/BaseScene";
import { ViewDefine } from "../Core/EnumDefine/ViewDefine";
import { excelMgr } from "../Core/Excel/ExcelMgr";
import { logMgr } from "../Core/Manager/LogMgr";
import { viewMgr, ViewTweenType } from "../Core/Manager/ViewMgr";

const { ccclass, property, inspector } = cc._decorator;

@ccclass
export class MainScene extends BaseScene {

    async onSceneStart() {
        await excelMgr.loadAll()
        logMgr.log("complete")
        viewMgr.openView(ViewDefine.Login, null, ViewTweenType.None)
    }
}
